/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.micda.moroccoby.common.dao;

import com.micda.moroccoby.common.entities.Client;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Administrateur
 */
public class ClientDAO extends GenericDAO<Client, Integer> {

    @PersistenceContext(unitName = "MoroccoByPersistence")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public ClientDAO() {
        super(Client.class);
    }
}
